﻿<UserControl x:Class="SoftTeach.View.Noten.MetroKlassenlisteNoteneintragDetailView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d" 
             d:DesignHeight="80" d:DesignWidth="241"
             FontSize="18">
    <Grid>
    <Grid.Background>
      <SolidColorBrush Color="{Binding NotengebungsHintergrund}" Opacity="0.6"/>
    </Grid.Background>
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="40"/>
        <ColumnDefinition Width="220"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="*"/>
      </Grid.RowDefinitions>
      <Image Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" Height="50" Source="{Binding Path=SchülereintragPerson.PersonBild}" Margin="0"/>
      <Label Grid.Row="0" Grid.Column="1" Style="{StaticResource NotengebungVornameLabelStyle}" Content="{Binding Path=SchülereintragPerson.PersonVorname}"/>
      <Label Grid.Row="1" Grid.Column="1" Content="{Binding Path=SchülereintragPerson.PersonNachname}"/>
    </Grid>
</UserControl>
